package kycadmininnerservicelogic

import (
	"context"

	"code.bydev.io/cht/customer/kyc_admin_service/internal/app/serv"
	"code.bydev.io/cht/customer/kyc_admin_service/service/private/internal/svc"
	"git.bybit.com/svc/stub/pkg/pb/api/kycadmin"
)

type KycAdminInnerServiceGetKycActionListLogic struct {
	svcCtx *svc.ServiceContext
}

func NewKycAdminInnerServiceGetKycActionListLogic(
	svcCtx *svc.ServiceContext,
) *KycAdminInnerServiceGetKycActionListLogic {
	return &KycAdminInnerServiceGetKycActionListLogic{
		svcCtx: svcCtx,
	}
}

// KYC 认证查询列表
func (l *KycAdminInnerServiceGetKycActionListLogic) GetKycActionList(
	ctx context.Context,
	in *kycadmin.GetKycActionListRequest,
) (*kycadmin.GetKycActionListResponse, error) {
	return serv.NewService(l.svcCtx.NothingEnv).GetKycActionList(ctx, in)
}
